<#include "common/ReuseLogging.ftl">
try {
    node.${nodeId} = <#if input?is_boolean>${input}<#else >${input}</#if>;
    if (node.${nodeId} === undefined) {
        node.${nodeId} = null;
    }
    jsonResult.setData(node.${nodeId});
    jsonResult.debugLog = node.debugLog;
    ResponseExecuteSuccessFinally = true;
} catch (e) {
    <#include "common/Catch.ftl">
} finally {
    logEndTime = DebugLogging.getTimestamp();
    debugLogging.assignCommNoOutputParam('${nodeId}', '${nodeType}', '${nodeName}', <#if input?is_boolean>${input}<#else >${input}</#if>, logStartTime, logEndTime);
    node.debugLog.push(debugLogging);
    if (ResponseExecuteSuccessFinally) {
        debugLogging.assignOutput(node.${nodeId});
        return JSON.stringify(jsonResult);
    }
}